dirroot/mod/aca/lib.php"); if (empty($form->name)) { $form->name = ""; } if (empty($form->description)) { $form->description = ""; } if (empty($form->format)) { $form->format = ""; } if (empty($form->langtype)) { $form->langtype = 0; } if (empty($form->showtest)) { $form->showtest = 0; } if (empty($form->showcopy)) { $form->showcopy = 0; } if (!isset($form->grade)) { $form->grade = 100; } // default timedue is one week if (!isset($form->timedue)) { $form->timedue = time()+7*24*3600; } // defult time id now if (!isset($form->timeavailable)) { $form->timeavailable = time(); } if (!isset($form->preventlate)) { $form->preventlate = 0; } if (empty($form->maxbytes)) { $form->maxbytes = $CFG->aca_maxbytes; } ?>
:
:

"; helpbutton("questions", get_string("helpquestions"), "moodle", true, true); echo "
"; if ($usehtmleditor) { helpbutton("richtext", get_string("helprichtext"), "moodle", true, true); } else { emoticonhelpbutton("form", "description"); } ?>
description); if ($usehtmleditor) { echo ''; } else { echo '
'; helpbutton("textformat", get_string("formattexttype")); print_string("formattexttype"); echo ': '; if (!$form->format) { $form->format = $defaultformat; } choose_from_menu(format_text_menu(), "format", $form->format, ""); echo '
'; } ?>
: id, "grade", "$form->grade"); ?>
: timeavailable) echo 'checked="checked"' ?> /> timeavailable); echo " - "; print_time_selector("availablehour", "availableminute", $form->timeavailable); ?>
: timedue) echo 'checked="checked"' ?> /> timedue); echo " - "; print_time_selector("duehour", "dueminute", $form->timedue); ?>
  : preventlate, ''); ?>
 
: langtype, ''); helpbutton('types', get_string('acatype', 'aca'), 'aca'); ?>
: showtest, ''); helpbutton('showing', get_string('showing', 'aca'), 'aca'); ?>
: showcopy, ''); ?>

$assname)) { echo ''."\n"; } } ?>